// 仓库类型
export const warehousetype = () =>
  (type) => {
    if (type === 'ZZ') { return '中转仓' }
    if (type === 'JG') { return '加工仓' }
    if (type === 'CB') { return '储备仓' }
    if (type === 'LC') { return '冷藏仓' }
  }

// 质检
export const inspectionType = () =>
  (type) => {
    if (type === 'BCL') { return '不处理' }
    if (type === 'QJ') { return '全检' }
    if (type === 'CJ') { return '抽检' }
  }

// 温度
export const temperatureType = () =>
  (type) => {
    if (type === 'CW') { return '常温' }
    if (type === 'LC') { return '冷藏' }
    if (type === 'HW') { return '恒温' }
  }

// 承重
export const bearingType = () =>
  (type) => {
    if (type === 'ZX') { return '重型' }
    if (type === 'QX') { return '轻型' }
    if (type === 'BX') { return '中型' }
  }

// 用途属性
export const useType = () =>
  (type) => {
    if (type === 'RKHCQ') { return '入库缓存区' }
    if (type === 'CKHCQ') { return '出库缓存区' }
    if (type === 'CCQ') { return '存储区' }
    if (type === 'FJQ') { return '分拣区' }
    if (type === 'ZJQ') { return '质检区' }
  }
